Integrand size = 26, antiderivative size = 166 \[ \int \left (a+c x^2\right )^p \left (A+C x^2\right ) \left (d+f x^2\right )^q \, dx=A x \left (a+c x^2\right )^p \left (1+\frac {c x^2}{a}\right )^{-p} \left (d+f x^2\right )^q \left (1+\frac {f x^2}{d}\right )^{-q} \operatorname {AppellF1}\left (\frac {1}{2},-p,-q,\frac {3}{2},-\frac {c x^2}{a},-\frac {f x^2}{d}\right )+\frac {1}{3} C x^3 \left (a+c x^2\right )^p \left (1+\frac {c x^2}{a}\right )^{-p} \left (d+f x^2\right )^q \left (1+\frac {f x^2}{d}\right )^{-q} \operatorname {AppellF1}\left (\frac {3}{2},-p,-q,\frac {5}{2},-\frac {c x^2}{a},-\frac {f x^2}{d}\right ) \]
A*x*(c*x^2+a)^p*(f*x^2+d)^q*AppellF1(1/2,-p,-q,3/2,-c*x^2/a,-f*x^2/d)/((1+ c*x^2/a)^p)/((1+f*x^2/d)^q)+1/3*C*x^3*(c*x^2+a)^p*(f*x^2+d)^q*AppellF1(3/2 ,-p,-q,5/2,-c*x^2/a,-f*x^2/d)/((1+c*x^2/a)^p)/((1+f*x^2/d)^q)
Time = 0.32 (sec) , antiderivative size = 242, normalized size of antiderivative = 1.46 \[ \int \left (a+c x^2\right )^p \left (A+C x^2\right ) \left (d+f x^2\right )^q \, dx=\frac {1}{3} x \left (a+c x^2\right )^p \left (d+f x^2\right )^q \left (\frac {9 a A d \operatorname {AppellF1}\left (\frac {1}{2},-p,-q,\frac {3}{2},-\frac {c x^2}{a},-\frac {f x^2}{d}\right )}{3 a d \operatorname {AppellF1}\left (\frac {1}{2},-p,-q,\frac {3}{2},-\frac {c x^2}{a},-\frac {f x^2}{d}\right )+2 x^2 \left (c d p \operatorname {AppellF1}\left (\frac {3}{2},1-p,-q,\frac {5}{2},-\frac {c x^2}{a},-\frac {f x^2}{d}\right )+a f q \operatorname {AppellF1}\left (\frac {3}{2},-p,1-q,\frac {5}{2},-\frac {c x^2}{a},-\frac {f x^2}{d}\right )\right )}+C x^2 \left (1+\frac {c x^2}{a}\right )^{-p} \left (1+\frac {f x^2}{d}\right )^{-q} \operatorname {AppellF1}\left (\frac {3}{2},-p,-q,\frac {5}{2},-\frac {c x^2}{a},-\frac {f x^2}{d}\right )\right ) \]
(x*(a + c*x^2)^p*(d + f*x^2)^q*((9*a*A*d*AppellF1[1/2, -p, -q, 3/2, -((c*x ^2)/a), -((f*x^2)/d)])/(3*a*d*AppellF1[1/2, -p, -q, 3/2, -((c*x^2)/a), -(( f*x^2)/d)] + 2*x^2*(c*d*p*AppellF1[3/2, 1 - p, -q, 5/2, -((c*x^2)/a), -((f *x^2)/d)] + a*f*q*AppellF1[3/2, -p, 1 - q, 5/2, -((c*x^2)/a), -((f*x^2)/d) ])) + (C*x^2*AppellF1[3/2, -p, -q, 5/2, -((c*x^2)/a), -((f*x^2)/d)])/((1 + (c*x^2)/a)^p*(1 + (f*x^2)/d)^q)))/3
Time = 0.33 (sec) , antiderivative size = 166, normalized size of antiderivative = 1.00, number of steps used = 7, number of rules used = 7, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.269, Rules used = {406, 334, 334, 333, 395, 395, 394}
Below are the steps used by Rubi to obtain the solution. The rule number used for the transformation is given above next to the arrow. The rules definitions used are listed below.
\(\displaystyle \int \left (A+C x^2\right ) \left (a+c x^2\right )^p \left (d+f x^2\right )^q \, dx\) |
\(\Big \downarrow \) 406 |
\(\displaystyle A \int \left (c x^2+a\right )^p \left (f x^2+d\right )^qdx+C \int x^2 \left (c x^2+a\right )^p \left (f x^2+d\right )^qdx\) |
\(\Big \downarrow \) 334 |
\(\displaystyle A \left (a+c x^2\right )^p \left (\frac {c x^2}{a}+1\right )^{-p} \int \left (\frac {c x^2}{a}+1\right )^p \left (f x^2+d\right )^qdx+C \int x^2 \left (c x^2+a\right )^p \left (f x^2+d\right )^qdx\) |
\(\Big \downarrow \) 334 |
\(\displaystyle A \left (a+c x^2\right )^p \left (\frac {c x^2}{a}+1\right )^{-p} \left (d+f x^2\right )^q \left (\frac {f x^2}{d}+1\right )^{-q} \int \left (\frac {c x^2}{a}+1\right )^p \left (\frac {f x^2}{d}+1\right )^qdx+C \int x^2 \left (c x^2+a\right )^p \left (f x^2+d\right )^qdx\) |
\(\Big \downarrow \) 333 |
\(\displaystyle C \int x^2 \left (c x^2+a\right )^p \left (f x^2+d\right )^qdx+A x \left (a+c x^2\right )^p \left (\frac {c x^2}{a}+1\right )^{-p} \left (d+f x^2\right )^q \left (\frac {f x^2}{d}+1\right )^{-q} \operatorname {AppellF1}\left (\frac {1}{2},-p,-q,\frac {3}{2},-\frac {c x^2}{a},-\frac {f x^2}{d}\right )\) |
\(\Big \downarrow \) 395 |
\(\displaystyle C \left (a+c x^2\right )^p \left (\frac {c x^2}{a}+1\right )^{-p} \int x^2 \left (\frac {c x^2}{a}+1\right )^p \left (f x^2+d\right )^qdx+A x \left (a+c x^2\right )^p \left (\frac {c x^2}{a}+1\right )^{-p} \left (d+f x^2\right )^q \left (\frac {f x^2}{d}+1\right )^{-q} \operatorname {AppellF1}\left (\frac {1}{2},-p,-q,\frac {3}{2},-\frac {c x^2}{a},-\frac {f x^2}{d}\right )\) |
\(\Big \downarrow \) 395 |
\(\displaystyle C \left (a+c x^2\right )^p \left (\frac {c x^2}{a}+1\right )^{-p} \left (d+f x^2\right )^q \left (\frac {f x^2}{d}+1\right )^{-q} \int x^2 \left (\frac {c x^2}{a}+1\right )^p \left (\frac {f x^2}{d}+1\right )^qdx+A x \left (a+c x^2\right )^p \left (\frac {c x^2}{a}+1\right )^{-p} \left (d+f x^2\right )^q \left (\frac {f x^2}{d}+1\right )^{-q} \operatorname {AppellF1}\left (\frac {1}{2},-p,-q,\frac {3}{2},-\frac {c x^2}{a},-\frac {f x^2}{d}\right )\) |
\(\Big \downarrow \) 394 |
\(\displaystyle A x \left (a+c x^2\right )^p \left (\frac {c x^2}{a}+1\right )^{-p} \left (d+f x^2\right )^q \left (\frac {f x^2}{d}+1\right )^{-q} \operatorname {AppellF1}\left (\frac {1}{2},-p,-q,\frac {3}{2},-\frac {c x^2}{a},-\frac {f x^2}{d}\right )+\frac {1}{3} C x^3 \left (a+c x^2\right )^p \left (\frac {c x^2}{a}+1\right )^{-p} \left (d+f x^2\right )^q \left (\frac {f x^2}{d}+1\right )^{-q} \operatorname {AppellF1}\left (\frac {3}{2},-p,-q,\frac {5}{2},-\frac {c x^2}{a},-\frac {f x^2}{d}\right )\) |
(A*x*(a + c*x^2)^p*(d + f*x^2)^q*AppellF1[1/2, -p, -q, 3/2, -((c*x^2)/a), -((f*x^2)/d)])/((1 + (c*x^2)/a)^p*(1 + (f*x^2)/d)^q) + (C*x^3*(a + c*x^2)^ p*(d + f*x^2)^q*AppellF1[3/2, -p, -q, 5/2, -((c*x^2)/a), -((f*x^2)/d)])/(3 *(1 + (c*x^2)/a)^p*(1 + (f*x^2)/d)^q)
3.4.98.3.1 Defintions of rubi rules used
Int[((a_) + (b_.)*(x_)^2)^(p_)*((c_) + (d_.)*(x_)^2)^(q_), x_Symbol] :> Sim p[a^p*c^q*x*AppellF1[1/2, -p, -q, 3/2, (-b)*(x^2/a), (-d)*(x^2/c)], x] /; F reeQ[{a, b, c, d, p, q}, x] && NeQ[b*c - a*d, 0] && (IntegerQ[p] || GtQ[a, 0]) && (IntegerQ[q] || GtQ[c, 0])
Int[((a_) + (b_.)*(x_)^2)^(p_)*((c_) + (d_.)*(x_)^2)^(q_), x_Symbol] :> Sim p[a^IntPart[p]*((a + b*x^2)^FracPart[p]/(1 + b*(x^2/a))^FracPart[p]) Int[ (1 + b*(x^2/a))^p*(c + d*x^2)^q, x], x] /; FreeQ[{a, b, c, d, p, q}, x] && NeQ[b*c - a*d, 0] && !(IntegerQ[p] || GtQ[a, 0])
Int[((e_.)*(x_))^(m_.)*((a_) + (b_.)*(x_)^2)^(p_)*((c_) + (d_.)*(x_)^2)^(q_ ), x_Symbol] :> Simp[a^p*c^q*((e*x)^(m + 1)/(e*(m + 1)))*AppellF1[(m + 1)/2 , -p, -q, 1 + (m + 1)/2, (-b)*(x^2/a), (-d)*(x^2/c)], x] /; FreeQ[{a, b, c, d, e, m, p, q}, x] && NeQ[b*c - a*d, 0] && NeQ[m, -1] && NeQ[m, 1] && (Int egerQ[p] || GtQ[a, 0]) && (IntegerQ[q] || GtQ[c, 0])
Int[((e_.)*(x_))^(m_.)*((a_) + (b_.)*(x_)^2)^(p_)*((c_) + (d_.)*(x_)^2)^(q_ ), x_Symbol] :> Simp[a^IntPart[p]*((a + b*x^2)^FracPart[p]/(1 + b*(x^2/a))^ FracPart[p]) Int[(e*x)^m*(1 + b*(x^2/a))^p*(c + d*x^2)^q, x], x] /; FreeQ [{a, b, c, d, e, m, p, q}, x] && NeQ[b*c - a*d, 0] && NeQ[m, -1] && NeQ[m, 1] && !(IntegerQ[p] || GtQ[a, 0])
Int[((a_) + (b_.)*(x_)^2)^(p_.)*((c_) + (d_.)*(x_)^2)^(q_.)*((e_) + (f_.)*( x_)^2), x_Symbol] :> Simp[e Int[(a + b*x^2)^p*(c + d*x^2)^q, x], x] + Sim p[f Int[x^2*(a + b*x^2)^p*(c + d*x^2)^q, x], x] /; FreeQ[{a, b, c, d, e, f, p, q}, x]
\[\int \left (c \,x^{2}+a \right )^{p} \left (C \,x^{2}+A \right ) \left (f \,x^{2}+d \right )^{q}d x\]
\[ \int \left (a+c x^2\right )^p \left (A+C x^2\right ) \left (d+f x^2\right )^q \, dx=\int { {\left (C x^{2} + A\right )} {\left (c x^{2} + a\right )}^{p} {\left (f x^{2} + d\right )}^{q} \,d x } \]
Timed out. \[ \int \left (a+c x^2\right )^p \left (A+C x^2\right ) \left (d+f x^2\right )^q \, dx=\text {Timed out} \]
\[ \int \left (a+c x^2\right )^p \left (A+C x^2\right ) \left (d+f x^2\right )^q \, dx=\int { {\left (C x^{2} + A\right )} {\left (c x^{2} + a\right )}^{p} {\left (f x^{2} + d\right )}^{q} \,d x } \]
\[ \int \left (a+c x^2\right )^p \left (A+C x^2\right ) \left (d+f x^2\right )^q \, dx=\int { {\left (C x^{2} + A\right )} {\left (c x^{2} + a\right )}^{p} {\left (f x^{2} + d\right )}^{q} \,d x } \]
Timed out. \[ \int \left (a+c x^2\right )^p \left (A+C x^2\right ) \left (d+f x^2\right )^q \, dx=\int \left (C\,x^2+A\right )\,{\left (c\,x^2+a\right )}^p\,{\left (f\,x^2+d\right )}^q \,d x \]